package com.ruoyi.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 靓号记录对象 nice_record
 *
 * @author ruoyi
 * @date 2025-03-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NiceRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 是否上架 1-上架 0-下架 */
    @Excel(name = "是否上架 1-上架 0-下架")
    private Integer status;

    /** 0-龙钞 1-蛇钞 */
    @Excel(name = "0-龙钞 1-蛇钞")
    private Integer billType;

    /** 冠字号 */
    @Excel(name = "冠字号")
    private String serialNumber;

    /** 0-单张 1-标十 2-标百 3-连续号 */
    @Excel(name = "0-单张 1-标十 2-标百 3-连续号")
    private Long numberType;

    /** 连续个数 */
    @Excel(name = "连续个数")
    private Integer numberCount;

    /** 价格 */
    @Excel(name = "价格")
    private Integer price;

    private List<Long> ids;

    /** 拥有者账号 */
    @Excel(name = "拥有者账号")
    private String owner;

    public NiceRecord(Integer status, Integer billType, String serialNumber, Long numberType, Integer numberCount, String owner) {
        this.status = status;
        this.billType = billType;
        this.serialNumber = serialNumber;
        this.numberType = numberType;
        this.numberCount = numberCount;
        this.owner = owner;
    }
}
